package com.github.xzb617.security.perms;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 校验角色
 * @author xzb617
 */
@Target({METHOD})
@Retention(RUNTIME)
@Documented
public @interface CheckRole {

    Role role() default Role.SA;

}
